home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 438_01 / makefile < prev    next >
Makefile  |  1994-12-19  |  874b  |  33 lines

  1. # Makefile for stelnet
  2.  
  3. # Compiler directories and executable
  4. INCLUDEDIR=e:\borlandc\include
  5. LIBDIR=e:\borlandc\lib
  6. CC=e:\borlandc\bin\bcc
  7.  
  8. # Define buffer sizes and the loop count here if needed
  9. # Defaults: TIBLEN=512, SIBLEN=512, TOBLEN=8192, SOBLEN=8192,
  10. # SOBLIMIT=512, LOOPCOUNT=100,
  11. #OPTIONS=-DTIBLEN=512 -DSIBLEN=512 -DTOBLEN=8192 -DSOBLEN=8192 \
  12. #        -DSOBLIMIT=512 -DLOOPCOUNT=100
  13.  
  14. # Uncomment one
  15. # Disable debugging
  16. DEBUGOPTS=-v- -O2
  17. # Enable debugging
  18. #DEBUGOPTS=-v
  19.  
  20. # Uncomment one set
  21. # Small memory model (should be enough)
  22. CMODEL=-ms
  23. CLIB=..\lib\wattcpsm.lib
  24. # Large memory model (for large buffer sizes (>~60K total))
  25. #CMODEL=-ml
  26. #CLIB=..\lib\wattcplg.lib
  27.  
  28. CFLAGS= $(CMODEL) -r- $(DEBUGOPTS) -I$(INCLUDEDIR) -I..\include -L$(LIBDIR) $(OPTIONS)
  29.  
  30. stelnet.exe: stelnet.c makefile
  31.         $(CC) $(CFLAGS) stelnet.c $(CLIB)
  32.  
  33.